//员工架构的路由
//导入layout
import Layout from '@/layout'
export default {
  path: '/employees',
  name: 'employees',
  component: Layout,
  children: [
    {
      path: '',
      name: '',
      component: () => import('@/views/employees'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: 'import',
      name: 'import',
      hidden: true, // 可以控制当前路由是否显示
      component: () => import('@/views/employees/import/index.vue'),
      meta: { title: '批量导入', icon: 'people' }
    },
    {
      path: 'details/:id',
      name: 'details',
      hidden: true, // 可以控制当前路由是否显示
      component: () => import('@/views/employees/details/index.vue')
    },
    {
      path: 'print/:id',
      name: 'print',
      hidden: true, // 可以控制当前路由是否显示
      component: () => import('@/views/employees/print/index.vue')
    }
  ]
}
